package ecom.appcode.dao.daointerface;

import java.util.List;

import ecom.appcode.common.daobean.CategoryDaoBean;

public interface CategoryDao {

    /** load Category Name */
    List<CategoryDaoBean> loadCategoryName();

    /** Load Category by ID */
    CategoryDaoBean loadCategoryByID(int ID);

    /** Update Category */
    boolean updateCategory(int categoryID, String categoryName, String description);
    
    /** Add New Category */
    boolean addCategory(String categoryName, String description);
    
    /** Delete Category */
    boolean deleteCategory(int categoryID);

}
